function s2(){
	

   with(vlay.dummy){vkf({},1);van.UDF='consoleOut()';van.go=true}
   
	with(vlay.bagdad){vkf({top:100,vopacity:0},1);vkf({},35);vkf({top:162,vopacity:100},10);van.go=true}
	for(var i=1;i<=6;i++){
		with(vlay['menu'+i]){vkf({vopacity:0,left:11},1);vkf({},99);vkf({vopacity:0},i*3);vkf({vopacity:110},5);van.go=true}
		with(vlay['blue'+i]){vkf({top:-30,left:11},1);vkf({},89);vkf({top:(40*i-10)},15);van.go=true}
	}
	with(vlay.noflash){vkf({top:80,left:230,vopacity:0},1);vkf({},90);vkf({vopacity:100},2);vkf({vopacity:0},2);vkf({vopacity:100},2);vkf({vopacity:0},2);van.UDF='main2()';van.go=true}
	with(vlay.alll){vkf({top:280,left:112,vopacity:0},1);vkf({},35);vkf({left:312,vopacity:100},12);van.go=true}
	with(vlay.allr){vkf({top:282,left:513,vopacity:0},1);vkf({},35);vkf({left:313,vopacity:100},12);van.go=true}
	with(vlay.poziom){vkf({ct:17,cr:390,cb:17,cl:390,top:275,vopacity:30},1);vkf({},37);vkf({ct:0,cr:780,cb:34,cl:0},10);vkf({vopacity: 80},10);van.go=true}
  with(vlay.pozioms){vkf({ct:8,cr:390,cb:9,cl:390,top:313,vopacity:20},1);vkf({},52);vkf({ct:0,cr:780,cb:17,cl:0},10);vkf({vopacity: 40},10);van.go=true}
	with(vlay.dhdss){vkf({top:350,vopacity:0},1);vkf({},42);vkf({top:320,vopacity:100},16);van.go=true}
	with(vlay.dhdsb){vkf({},50);vkf({left:90,top:313,vopacity:0},1);vkf({vopacity:60},10);van.go=true}
	STPE.go('',ns4?150:1,true)
	
}

kon=[];kl=0;kc=0
kon[kl++]={text:'ALLADYN engine v1.7 invoked',time:3}
kon[kl++]={text:'entering runlevel 1',time:11}
kon[kl++]={text:'self test in progress...',time:5}
kon[kl++]={text:'v1.7, no errors',time:3}
kon[kl++]={text:'initializing...',time:9}
kon[kl++]={text:'entering runlevel 2',time:11}
kon[kl++]={text:'starting engine...',time:7}
kon[kl++]={text:'engine in production state',time:4}
kon[kl++]={text:'invoking renderer',time:8}
kon[kl++]={text:'detecting physical devices',time:5}
kon[kl++]={text:'entering runlevel 3',time:11}
kon[kl++]={text:'nodesystem connected',time:5}
kon[kl++]={text:'v-devices connected',time:35} 
kon[kl++]={text:'THE SYSTEM IS READY',time:5}

function konsola(){
	var txt='<span style="font-family: Verdana; font-size: 10px; color:#8888FF">',i
	for(i=kc-6;i<=kc;i++)if(i>=0)txt=txt+'<br>'+kon[i].text;txt=txt+'</span>'
	with(vlay.console){vkf({},kon[kc].time);vHTML(txt);van.go=++kc<kl}
}

function consoleOut(){
	with(vlay.console){van.reset();van.group='';van.UDF='';vkf({ct:0,cr:200,cb:120,cl:0},1);vkf({ct:60,cr:200,cb:60,cl:0},7);van.go=true}
  with(vlay.conu){van.group='';vkf({top:250},8);vkf({left:180,vopacity:0},8);van.go=true}
	with(vlay.cond){van.group='';vkf({top:260},8);vkf({left:180,vopacity:0},8);van.go=true}
	with(vlay.cont){van.group='';vkf({vopacity:0},3);vkf({left:-200},1);van.go=true}
	 
}



function s1(){
  konsola()
  
  with(vlay.console.van){group='console';UDF='konsola()';group='console'}
  STPE.go('console',1,true,'s2()')
}

function s0(){ 
 	with(vlay.obrecz){
		for(p=0;p<2*Math.PI;p+=0.1)vkf({left:30*Math.cos(p)+190, top:30*Math.sin(p)+55},1)
		with(van){mode='loop';group='kolko';go=true}
	  }
	  with(vlay.conu){van.group="kon";vkf({top:250,left:180,vopacity:0},1);vkf({left:266,vopacity:100},5);vkf({top:198},8);van.go=true}
	  with(vlay.cond){van.group="kon";vkf({top:260,left:180,vopacity:0},1);vkf({left:266,vopacity:100},5);vkf({top:302},8);van.UDF='s1()';van.go=true}
	  with(vlay.cont){van.group="kon";vkf({top:192,left:270,vopacity:0},1);vkf({vopacity:100},3);van.go=true}
	  STPE.go('kon',1,true,'vlay.cond.van.UDF=""');
    STPE.go('kolko',100);
}
function main2(){
vlay.pozioms2.vopacity=70;
vlay.pozioms3.vopacity=40;
 with(vlay.pozioms2){van.mode='ping';van.group='paski';van.go=true;
     vkf({top:330},1)
	   vkf({top:350},40)	
  }
  
  with(vlay.pozioms3){van.mode='ping';van.group='paski';van.go=true;
     vkf({top:335},1)
	   vkf({top:355},20)	
  }
STPE.go('paski',ns4?100:20);

}